package se.perp.c4.net;

import se.perp.c4.control.iface.IConnectionListener;

public interface IConnection {

    boolean isServer();

    void sendMessage(Message m);

    Message waitForNextMessage();

    void close();

    public void setConnectionListener(IConnectionListener l);
}
